package com.hdoit.apollo.logical.cargo.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import javax.persistence.Transient;

import com.tennetcn.data.message.ModelBase;
/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年04月02日 11:17:32
 * @comment
 */
@Entity
@Table(name="cargo_standard_property_collocation")
public class Collocation extends ModelBase{
    //Id
    @Id
    @Column(name="collocationId")
    private String collocationId;

    @Column(name="collocationNo")
    private String collocationNo;
    
    //货物id
    @Column(name="cargoId")
    private String cargoId;

    //规格属性名称1
    @Column(name="propertyNameOne")
    private String propertyNameOne;

    //规格属性名称2
    @Column(name="propertyNameTwo")
    private String propertyNameTwo;

    //成本价
    @Column(name="costPrice")
    private Double costPrice;
    
    //采购价
    @Column(name="purchasePrice")
    private Double purchasePrice;
    
    //销售价
    @Column(name="salePrice")
    private Double salePrice;
    
    //批发价
    @Column(name="combinationPrice")
    private Double combinationPrice;

    //门店id
    @Column(name="shopId")
    private String shopId;

    //创建时间
    @Column(name="createDate")
    private Date createDate;

    //创建人id
    @Column(name="createUserId")
    private String createUserId;

    //创建人名称
    @Column(name="createUserName")
    private String createUserName;

    //修改时间
    @Column(name="modifyDate")
    private Date modifyDate;

    //修改人id
    @Column(name="modifyUserId")
    private String modifyUserId;

    //修改人名称
    @Column(name="modifyUserName")
    private String modifyUserName;

    //删除标记
    @Column(name="deleteMark")
    private Integer deleteMark;
    
    //备注
    @Column(name="comment")
    private String comment;
    
    //库存查询
    @Transient
    private String stockNum;
    
    //销量查询
    @Transient
    private String saleNum;
    
    @Transient
    private Cargo cargo;
    
    public Double getCombinationPrice() {
		return combinationPrice;
	}
	public void setCombinationPrice(Double combinationPrice) {
		this.combinationPrice = combinationPrice;
	}
	public Double getPurchasePrice() {
		return purchasePrice;
	}
	public void setPurchasePrice(Double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}

    public String getCollocationId(){
        return this.collocationId;
    }
    public void setCollocationId(String collocationId){
         this.collocationId=collocationId;
    }

    public String getCargoId(){
        return this.cargoId;
    }
    public void setCargoId(String cargoId){
         this.cargoId=cargoId;
    }

    public String getPropertyNameOne(){
        return this.propertyNameOne;
    }
    public void setPropertyNameOne(String propertyNameOne){
         this.propertyNameOne=propertyNameOne;
    }

    public String getPropertyNameTwo(){
        return this.propertyNameTwo;
    }
    public void setPropertyNameTwo(String propertyNameTwo){
         this.propertyNameTwo=propertyNameTwo;
    }

    public Double getCostPrice(){
        return this.costPrice;
    }
    public void setCostPrice(Double costPrice){
         this.costPrice=costPrice;
    }

    public Double getSalePrice(){
        return this.salePrice;
    }
    public void setSalePrice(Double salePrice){
         this.salePrice=salePrice;
    }

    public String getShopId(){
        return this.shopId;
    }
    public void setShopId(String shopId){
         this.shopId=shopId;
    }

    public Date getCreateDate(){
        return this.createDate;
    }
    public void setCreateDate(Date createDate){
         this.createDate=createDate;
    }

    public String getCreateUserId(){
        return this.createUserId;
    }
    public void setCreateUserId(String createUserId){
         this.createUserId=createUserId;
    }

    public String getCreateUserName(){
        return this.createUserName;
    }
    public void setCreateUserName(String createUserName){
         this.createUserName=createUserName;
    }

    public Date getModifyDate(){
        return this.modifyDate;
    }
    public void setModifyDate(Date modifyDate){
         this.modifyDate=modifyDate;
    }

    public String getModifyUserId(){
        return this.modifyUserId;
    }
    public void setModifyUserId(String modifyUserId){
         this.modifyUserId=modifyUserId;
    }

    public String getModifyUserName(){
        return this.modifyUserName;
    }
    public void setModifyUserName(String modifyUserName){
         this.modifyUserName=modifyUserName;
    }

    public Integer getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(Integer deleteMark){
         this.deleteMark=deleteMark;
    }
	public String getCollocationNo() {
		return collocationNo;
	}
	public void setCollocationNo(String collocationNo) {
		this.collocationNo = collocationNo;
	}
	public Cargo getCargo() {
		return cargo;
	}
	public void setCargo(Cargo cargo) {
		this.cargo = cargo;
	}
	public String getStockNum() {
		return stockNum;
	}
	public void setStockNum(String stockNum) {
		this.stockNum = stockNum;
	}
	public String getSaleNum() {
		return saleNum;
	}
	public void setSaleNum(String saleNum) {
		this.saleNum = saleNum;
	}

}